var app=angular.module("app",["ngRoute"]);
app.config(['$routeProvider',function($routeProvider){
	$routeProvider
	.when("/home",{
//		template:
		templateUrl:"./home/shouye.html",
		controller:"ctrl1"
	})
	.when("/chaoshi:text",{
		templateUrl:"./chaoshi/chaoshi.html",
		controller:"ctrl2"
	})
	.when("/miaosha",{
		templateUrl:"./miaosha/miaosha.html",
		controller:"ctrl3"
	})
	.when("/xinxian",{
		templateUrl:"./xinxian/xinxian.html",
		controller:"ctrl4"
	})
	.when("/cars",{
		templateUrl:"./cars/cars.html",
		controller:"ctrl5"
	})
	.when("/geren",{
		templateUrl:"./geren/geren.html"
	})
	.otherwise("/home");
}])